package com.xsw.edu.model;

import org.springframework.web.multipart.MultipartFile;

/**
 * Created by lenovo on 2019/7/12.
 */
public class Student {

    private Integer id;      //学号
    private String firstname;   //姓名
    private String address;     //地址
    private String mobileno;    //移动电话
    private String finish;      //出生日期
    private String postcode;    //邮编
    private String imageico;    //照片
    private String department;  //年级
    private String description;  //简介
    private String gender;       //性别
    private String country;      //国家
    private String state;       //省
    private String city;        //城市
    private String website;      //网址
    private String email;       //电子邮箱
    private String phone;       //固定电话
    private String password;    //密码
    private String facebook;     //facebook
    private String twitter;     //twitter
    private String google;      //google
    private String linkedin;    //linkedin
    private MultipartFile file;

    public Student() {
    }

    public Student(String firstname, String password) {
        this.firstname = firstname;
        this.password = password;
    }

    public Student(Integer id, String firstname, String password) {
        this.id = id;
        this.firstname = firstname;
        this.password = password;
    }

    public MultipartFile getFile() {
        return file;
    }

    public void setFile(MultipartFile file) {
        this.file = file;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getFirstname() {
        return firstname;
    }

    public void setFirstname(String firstname) {
        this.firstname = firstname;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getMobileno() {
        return mobileno;
    }

    public void setMobileno(String mobileno) {
        this.mobileno = mobileno;
    }

    public String getFinish() {
        return finish;
    }

    public void setFinish(String finish) {
        this.finish = finish;
    }

    public String getPostcode() {
        return postcode;
    }

    public void setPostcode(String postcode) {
        this.postcode = postcode;
    }

    public String getImageico() {
        return imageico;
    }

    public void setImageico(String imageico) {
        this.imageico = imageico;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getWebsite() {
        return website;
    }

    public void setWebsite(String website) {
        this.website = website;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getFacebook() {
        return facebook;
    }

    public void setFacebook(String facebook) {
        this.facebook = facebook;
    }

    public String getTwitter() {
        return twitter;
    }

    public void setTwitter(String twitter) {
        this.twitter = twitter;
    }

    public String getGoogle() {
        return google;
    }

    public void setGoogle(String google) {
        this.google = google;
    }

    public String getLinkedin() {
        return linkedin;
    }

    public void setLinkedin(String linkedin) {
        this.linkedin = linkedin;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", firstname='" + firstname + '\'' +
                ", address='" + address + '\'' +
                ", mobileno='" + mobileno + '\'' +
                ", finish='" + finish + '\'' +
                ", postcode='" + postcode + '\'' +
                ", imageico='" + imageico + '\'' +
                ", department='" + department + '\'' +
                ", description='" + description + '\'' +
                ", gender='" + gender + '\'' +
                ", country='" + country + '\'' +
                ", state='" + state + '\'' +
                ", city='" + city + '\'' +
                ", website='" + website + '\'' +
                ", email='" + email + '\'' +
                ", phone='" + phone + '\'' +
                ", password='" + password + '\'' +
                ", facebook='" + facebook + '\'' +
                ", twitter='" + twitter + '\'' +
                ", google='" + google + '\'' +
                ", linkedin='" + linkedin + '\'' +
                ", file=" + file +
                '}';
    }
}



















